import React from 'react'
import { Cell, CellBody, CellFooter } from 'react-weui'
import { browserHistory } from 'react-router'

export default class PayAddress extends React.Component {
    handlePlusAdd() {
    	const storeId = this.props.storeId;
        browserHistory.push(`/store/${storeId}/user/set-address`);
    }
	render() {
		return (
			<Cell href="javascript:;" access style={{
				marginTop: '55px',
				background: '#105069',
				color: '#fff'
			}} onClick={this.handlePlusAdd.bind(this)}>
                <CellBody>
                   设置收货地址
                </CellBody>
                <CellFooter/>
            </Cell>

		);
	}
}
